﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity.ModelConfiguration;

namespace ReferralTracker.Data.Entities.Configurations {
    public class UserDetailConfiguration : EntityTypeConfiguration<UserDetail> {

        public UserDetailConfiguration() {
            HasRequired(ud => ud.User)
                .WithOptional(u => u.UserDetail);
        }
    }
}
